/*
 * usbdesc.c
 *
 *  Created on: 13-02-2012
 *      Author: Mateusz
 */

#include <LPC13xx.h>
#include <cr_section_macros.h>

#include "usb.h"
#include "usbdesc.h"

/* USB String Descriptor (optional) */
__AFTER_VECTORS const uint8_t USB_StringDescriptor[] =
{
/* Index 0x00: LANGID Codes */
0x04,                              /* bLength */
USB_STRING_DESCRIPTOR_TYPE,        /* bDescriptorType */
WBVAL(0x0409), /* US English */    /* wLANGID */
/* Index 0x04: Manufacturer */
0x1C,                              /* bLength */
USB_STRING_DESCRIPTOR_TYPE,        /* bDescriptorType */
'S',0,
'F',0,
'A',0,
'R',0,
' ',0,
'S',0,
'.',0,
'C',0,
'.',0,
' ',0,
' ',0,
' ',0,
' ',0,
/* Index 0x20: Product */
0x28,                              /* bLength */
USB_STRING_DESCRIPTOR_TYPE,        /* bDescriptorType */
'R',0,
'i',0,
'b',0,
'b',0,
'o',0,
'n',0,
'C',0,
'o',0,
'n',0,
't',0,
'r',0,
'o',0,
'l',0,
' ',0,
'B',0,
'L',0,
' ',0,
' ',0,
' ',0,
/* Index 0x48: Serial Number */
0x1A,                              /* bLength */
USB_STRING_DESCRIPTOR_TYPE,        /* bDescriptorType */
'S',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
/* Index 0x62: Interface 0, Alternate Setting 0 */
0x0E,                              /* bLength */
USB_STRING_DESCRIPTOR_TYPE,        /* bDescriptorType */
'M',0,
'e',0,
'm',0,
'o',0,
'r',0,
'y',0,
};
